const router = require('koa-router')()
const ctrl = require('../controller/fans')

router.prefix('/fans')

// 关注作者
router.post('/follow', ctrl.follow)

// 取消关注作者
router.post('/unfollow', ctrl.unfollow)

// 查询粉丝
router.get('/findall', ctrl.findAll)

module.exports = router
